<?php
class DemoForm extends fwiForm{
    public function frmAddStudent(){
        _fwiload::includeLogic('Message');
        
        $V['member_code'] = $this->mapDB('memberCode');
        $V['member_family_name'] = $this->mapDB('memberFamilyName');
        $V['member_middle_name'] = $this->mapDB('memberMiddleName');
        $V['member_last_name'] = $this->mapDB('memberLastName');
        $V['member_tel1'] = $this->mapDB('memberTel1');
        $V['member_email'] = $this->mapDB('memberEmail');
        $V['member_gender'] = $this->mapDB('memberGender');

        $V['member_code']->add(fwiVtor::$_VAL_BLANK, _MSG_XXX);
        $V['member_family_name']->add(fwiVtor::$_VAL_BLANK, _MSG_XXX);
        $V['member_middle_name']->add(fwiVtor::$_VAL_BLANK, _MSG_XXX);
        $V['member_last_name']->add(fwiVtor::$_VAL_BLANK, _MSG_XXX);
        $V['member_tel1']->add(fwiVtor::$_VAL_BLANK, _MSG_XXX);
        $V['member_email']->add(fwiVtor::$_VAL_BLANK, _MSG_XXX);
        $V['member_gender']->add(fwiVtor::$_VAL_BLANK, _MSG_XXX);
        
        return $V;
    }
}
?>
